package com.guet.mapper;

import com.guet.Entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    User query(String account, String identify);

    @Select("select password from user where id = #{userId}")
    String queryPasswordById(Long userId);
}
